<?php

namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class User extends Model
{




    //充值表
    public function recharge()
    {
        return $this->hasMany('Recharge', 'user_id', 'id');
    }


    //提现表
    public function withdraw()
    {
        return $this->hasMany('withdraw', 'user_id', 'id');
    }
}